// order.js
const request = require('../request')

module.exports = {
    // data可以传入 url, data, ignoreToken, form, cToken
    accessToken (data) {
        let url = 'api/index/accessToken'
        return request.get({ url, data })
    },

    code2Session(data) {
        let url = 'api/index/code2Session'
        return  request.get({url, data})
    }
}
